package com.yang.knowledgebase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yang.knowledgebase.dto.Result;
import com.yang.knowledgebase.pojo.Book;

import java.util.ArrayList;
import java.util.List;

public interface IBookService extends IService<Book> {
    //查询所有书本
    Result getAllBook();

    //模糊查询书本
    Result getBooksByName(String bookName);
}
